﻿@{
    ViewBag.Title = "Borðspil.is";
}

@model List<bordspil.Models.Game>

<p>XXX Innskráðir Notendur </p><!--TODO:Tengja við db-->

@foreach ( var game in Model)
{
    <div class="SelectGame">
        <h3><a href="Home/CreateGame/@game.ID">@game.GameName<img src="@game.Image" 
            height="200" style="max-width: 150px" alt="Mynd af spilum" /></a></h3>
    </div>
}

 <div class="MainPaige">
        <div class="Highscore">
            <select>
                <!--TODO: tengja value við db -->
                @foreach (var game in Model)
                {
                    <option value = "@game.ID">@game.GameName</option>
                }
            </select>
            <div>
                <!--TODO:Listi yfir higscore-->
            </div>
        </div>
    </div>


        
    
    
